import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import MuseUI from 'muse-ui'
import Toast from 'muse-ui-toast'
import Message from 'muse-ui-message'
import Loading from 'muse-ui-loading'
import NProgress from 'muse-ui-progress'
import 'normalize.css/normalize.css'
import 'muse-ui/dist/muse-ui.css'
import './assets/css/icon.css'
import 'muse-ui-progress/dist/muse-ui-progress.css'
import 'muse-ui-message/dist/muse-ui-message.css'
import 'muse-ui-loading/dist/muse-ui-loading.css'
import './assets/css/app.css'
Vue.use(NProgress)
Vue.use(MuseUI)
Vue.use(Toast, { position: 'top' })
Vue.use(Message)
Vue.use(Loading)
// import './registerServiceWorker'
Vue.prototype.$message = Toast.Message
Vue.prototype.$alert = Message.alert
Vue.prototype.$confirm = Message.confirm
Vue.prototype.$prompt = Message.prompt
Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
